﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using static System.Net.Mime.MediaTypeNames;

namespace WeighSystem.LiteDB
{
    public class DB
    {
        // Get a unique database name in TestResults folder
        public static string Path()
        {   
            /*
            var path = System.IO.Path.GetFullPath(
                System.AppDomain.CurrentDomain.BaseDirectory +
                string.Format("../Data/litedb-{0}.db", "litedb-2f6d864e-7f00-412d-aa5d-58593ad2f15d"));
                */

            var path = System.AppDomain.CurrentDomain.BaseDirectory + "WeighSystem.db";
            return path;
        }
    }

}
